window.onload = function() {
  var arr = ["Ruby", "GoLang", "C#", "Java", "Python"];
  var f = new DocumentFragment();
  for (let index = 0; index < 200; index++) {
    var ele = arr[index % 5];
    var li = document.createElement("li");
    li.setAttribute("class", "item");
    li.innerText = ele;
    f.appendChild(li);
  }
  document.querySelector(".list").appendChild(f);
};
